package com.ws.message;

import lombok.Data;

@Data
public class MessageFormat {
    /**
     * 消息类型
     */
    private Integer type;

    /**
     * 消息发送者
     */
    private Long senderId;
    /**
     * 消息接收者
     */
    private Long receiverId;

    public MessageFormat() {
    }

    public MessageFormat(Integer type, Long senderId, Long receiverId) {
        this.type = type;
        this.senderId = senderId;
        this.receiverId = receiverId;
    }
}
